{{--{{ $mount->mount_name }}--}}
{{--{{ $mount->mount_mobile }}--}}
{{--{{ $mount->address }}--}}
{{--{{ $mount->machine->name }}--}}
{{--{{ Form::model($page, array('method' => 'put', 'route' => array('mounts.update', $mount->id),'id'=>'pages')) }}--}}
{{--<input type="hidden" name="type" value="{{ $type }}" >--}}
{{--@if($type == 13)--}}
{{--<select name="filters">--}}
{{--@foreach($filters as $filter)--}}
{{--<option value="{{ $mount->machine->$filter->id }}">{{ $mount->machine->$filter->name }}</option>--}}
{{--@endforeach--}}
{{--</select>--}}
{{--<select name="remark">--}}
{{--<option>1</option>--}}
{{--<option>2</option>--}}
{{--<option>3</option>--}}
{{--</select>--}}
{{--@endif--}}
{{--<input type="radio" name="date" value="下班后">下班后--}}
{{--<input type="radio" name="date" value="周末">周末--}}
{{--<input type="radio" name="date" value="不限">不限--}}
{{--@if($type != 13)--}}
{{--<textarea name="remark"></textarea>--}}
{{--@endif--}}
{{--<button type="submit">确认</button>--}}
{{--{{ Form::close() }}--}}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>雷谛净水器-用户中心</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" type="text/css" href="{{ URL::asset('newstyle/css/drink.css') }}" />

</head>
<body>

<header id="header">
  <a href="{{ route('customers.index') }}">
    <img src="{{ URL::asset('newstyle/images/arrow_left.png') }}" alt="" width="8" class="arrow_left">
  </a>
  <h3>@if($type == 13) 我要换芯 @elseif($type == 11) 我要拆机 @else 我要维修维护 @endif</h3>
</header>
<section id="section7">
  {{ Form::model($page, array('method' => 'put', 'route' => array('mounts.update', $mount->id),'id'=>'pages')) }}
    <input type="hidden" name="type" value="{{ $type }}" >
  <ul>
    <li>
      <a href="">
        <img src="{{ $PATH }}{{ $mount->machine->cover }}-zheng" alt="" width="90" class="product1">
        <h4>型号:{{ $mount->machine->name }}</h4>
        <p class="machine_code">机器编码：{{ $mount->code }}</p>
        <p><img src="{{ URL::asset('newstyle/images/cleck.png') }}" alt="" width='11' align="absmiddle">初装日期：{{ $mount->created_at }}</p>
        <p><img src="{{ URL::asset('newstyle/images/map.png') }}" alt="" width="8" align="absmiddle">地址：{{ $mount->xiaoqu->name  }}{{ $mount->address }}</p>
      </a>
    </li>
  </ul>
</section>
<div class="time">
  <ul>
      <li>
          期望上门时间
          <select name="select" id="select">
              <option>不限</option>
              <option>三天内</option>
              <option>一周内</option>
              <option>二周内</option>
          </select>
      </li>
      <li>
          选择上门服务人员
          <select name="worker_id" id="worker_id">
              @foreach($workers as $worker)
                  <option value="{{ $worker->id }}">{{ $worker->name }}</option>
              @endforeach
          </select>
      </li>
    <li>
      <input type="radio"  name="radio" id="radio1" value="下班后">下班后
      <input type="radio"  name="radio" id="radio1" value="周末">周末
      <input type="radio"  name="radio" id="radio1" value="不限">不限
    </li>
  </ul>
</div>
@if($type == 13)
<div class="change">
    <ul>
    <li>
      本次更换滤芯
    </li>
    <li>
      @foreach($filters as $filter)
      <p>{{ $mount->machine->$filter->name }}</p>
      @endforeach
    </li>
  </ul>
</div>
<div class="core">
  <ul>
    <li>
        滤芯来源
        <select name="select" id="select">
            <option>存在于家中的滤芯</option>
            <option>寄存于服务中心的滤芯</option>
            <option>现购现付一根滤芯</option>
        </select>     
    </li>
  </ul>
</div>
@endif
@if($type == 12)
<div class="desc">
  <h2>故障描述</h2>
  <textarea name="textfield" id="" placeholder="您的描述有助于我们充分准备材料和技术方案，为您节省等待时间。"></textarea>
</div>
@elseif($type != 13)
<div class="desc">
  <h2>原因</h2>
  <textarea name="textfield" id="" placeholder="您的描述有助于我们尽快上门服务。"></textarea>
</div>
 @endif
<div class="sub">
  <input type="submit" name="button" id="button" value="提交"/>
</div>
 {{ Form::close() }}
</body>
</html>


